const AliyunEmail = require('aliyun-email')

const aliyunEmail = new AliyunEmail('LTAI4G5Nfo8ygV8b1wta33Vt','DnMiDQfOkXvKCMftXbHv0cEkvPlc2j');

aliyunEmail.singleSendMail({
       AccountName: 'admin@xiaohigh.com',
       ReplyToAddress: true,
       AddressType: 1,
       ToAddress: 'xiongyiwei@yeah.net', //收件人邮箱
       FromAlias: 'xiaohigh', //发件人
       Subject: '注册成功',
       HtmlBody: '恭喜您注册成功, 您的唯一验证码为 999999, 一定要妥善保存, 不能告诉其他人'
}).then((err,res)=> {
    console.log(err);
    console.log(res);
});

